package hu.crs.game.registry;

import hu.crs.game.entity.creature.monster.Monster;
import hu.crs.game.state.StateHolder;

import java.util.HashSet;
import java.util.Set;

public class MonsterRegister implements StateHolder{
	private static final long serialVersionUID = 902451837330193406L;
	
	private Set<Monster> monsters = new HashSet<Monster>();
	
	public boolean add(Monster m) {
		return monsters.add(m);
	}
	
	public boolean remove(Monster m) {
		return monsters.remove(m);
	}

}
